import request from '@/utils/request';

//查询配置
export async function queryRequest(): Promise<any> {
  return request('/api/setting/query',{method: 'GET',});
}

//编辑配置
export async function editRequest(params:any): Promise<any> {
  return request('/api/setting/update', {
    method: 'POST',
    data: params,
  });
}
